package com.iu.eblood.serviceImpl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iu.eblood.daoInterfaces.InstitutionDonationInfoDao;
import com.iu.eblood.model.Institutiondonationinfo;
import com.iu.eblood.serviceInterfaces.InstitutionDonationInfoService;

@Service("InstitutionDonationInfoImpl")
public class InstitutionDonationInfoImpl
implements InstitutionDonationInfoService {

	
	@Autowired
	InstitutionDonationInfoDao institutionDonatationInfoDao; 
	
	public List<Institutiondonationinfo> getBloodDonationCenters() {
		
		return institutionDonatationInfoDao.getBloodDonationCenters();
	}

	public List<Institutiondonationinfo> getFinancialDonationCenters() {
		
		return institutionDonatationInfoDao.getFinancialDonationCenters();
	}

	public List<Institutiondonationinfo> getBloodSuppliers() {
		
		return institutionDonatationInfoDao.getBloodSuppliers();
	}

}
